package com.lfsenior.listmq;

import redis.clients.jedis.Jedis;

/**
 * Created by dlupan on 2018/10/15
 */
public class RedisProduct {
    public static void main(String[] args) throws Exception{
        Jedis jedis = new Jedis("127.0.0.1", 6379);
        for(int i=0;i<10;i++){
            jedis.lpush("msgList","msgList"+i);
        }
        jedis.close();
    }
}
